package com.cloud.api.domain.tsp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

@Data
@Schema(description = "删除控车指令的控车项")
public class DelGroupRequest {

    @NotEmpty(message = "{validation.command.modelId}")
    private String modelId;

    @Schema(description = "指令类型：手机、后台")
    @NotEmpty(message = "{validation.command.type}")
    private String type;

    @Schema(description = "控车项")
    @NotNull(message = "validation.command.controlGroup")
    private String controlGroup;

    @Schema(description = "控车项明名称")
    @NotNull(message = "validation.command.controlGroup")
    private String groupName;
}
